<?php

// Check if we are a user
OCP\User::checkLoggedIn();
OCP\JSON::callCheck();

$taskid = JRequest::getInt('tid', 0); 

DelayTaskJob::removeTask($taskid, OC_User::getUser());

OC_JSON::success(array("data" =>"成功删除！"));
